#pragma once
struct Vertex
{
	Vertex(){}
	Vertex(
		float x, float y, float z,
		float nx=0.0f, float ny=0.0f, float nz=0.0f,
		float u=0.0f, float v=0.0f)
	{
		_x  = x;  _y  = y;  _z  = z;
		_nx = nx; _ny = ny; _nz = nz;
		_u  = u;  _v  = v;
	}
	float _x, _y, _z;
	float _nx, _ny, _nz;
	float _u, _v; // texture coordinates

	static const DWORD FVF;
};
const DWORD Vertex::FVF = D3DFVF_XYZ | D3DFVF_NORMAL | D3DFVF_TEX1;

// struct POINT 
// {
// 	int x,y;
// };